import { createApp } from "vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
// @ts-ignore
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import App from "./App.vue";
import XTable from "./components/XTable/index.vue";

import VXETable from "vxe-table";
import "vxe-table/lib/style.css";

const app = createApp(App);
app.use(VXETable);
app.use(ElementPlus, {
  locale: zhCn,
});
app.component("XTable", XTable);
app.mount("#app");
